import request from '@/utils/request'

// 查询维保类目明细列表
export function listWbClassifyContent(query) {
  return request({
    url: '/wb/wbClassifyContent/list',
    method: 'get',
    params: query
  })
}

// 查询维保类目明细详细
export function getWbClassifyContent(id) {
  return request({
    url: '/wb/wbClassifyContent/' + id,
    method: 'get'
  })
}

// 新增维保类目明细
export function addWbClassifyContent(data) {
  return request({
    url: '/wb/wbClassifyContent',
    method: 'post',
    data: data
  })
}

// 修改维保类目明细
export function updateWbClassifyContent(data) {
  return request({
    url: '/wb/wbClassifyContent',
    method: 'put',
    data: data
  })
}

// 删除维保类目明细
export function delWbClassifyContent(id) {
  return request({
    url: '/wb/wbClassifyContent/' + id,
    method: 'delete'
  })
}
